#!/bin/bash
# 官网
https://alist.nn.ci/zh
# 安装 alist
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install /root/alist

# 随机生成一个密码
./alist admin random
# 手动设置一个密码,`NEW_PASSWORD`是指你需要设置的密码
./alist admin set 1813033378
# 查看状态：systemctl status alist
# 启动服务：systemctl start alist
# 重启服务：systemctl restart alist
# 停止服务：systemctl stop alist
http://192.168.2.252:5244

systemctl enable alist
http://192.168.2.251:5244


sudo apt-update
apt-get install  -y davfs2
sudo nano /etc/davfs2/secrets
echo "http://192.168.2.252:5244/dav admin 1813033378" > /etc/davfs2/secrets

 http://http://192.168.2.252:5244:5244/dav admin 1813033378


mount -t davfs -o noexec http://192.168.2.252:5244/dav webdav/

https://192.168.2.251:27858/


sync


